import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
		config: {},
		userinfo:false
	},
	mutations: {
		setConfig(state,configinfo){
			state.config = configinfo
		},
		setUserinfo(state,userinfo){
			state.userinfo = userinfo
		}
	},
    actions: {}
})
export default store